package com.dianrong.common.uniauth.common.bean.request;

import java.util.List;

public class PermissionParam extends Operator {
    private static final long serialVersionUID = -2653053952710364770L;
    private Integer id;
    private String value;
    private String valueExt;
    private String description;
    private Byte status;
    private Integer permTypeId;

    private Integer domainId;

    private List<Integer> roleIds;

    public Integer getId() {
        return id;
    }

    public PermissionParam setId(Integer id) {
        this.id = id;
        return this;
    }

    public String getValue() {
        return value;
    }

    public PermissionParam setValue(String value) {
        this.value = value;
        return this;
    }

    public String getDescription() {
        return description;
    }

    public PermissionParam setDescription(String description) {
        this.description = description;
        return this;
    }

    public Byte getStatus() {
        return status;
    }

    public PermissionParam setStatus(Byte status) {
        this.status = status;
        return this;
    }

    public Integer getPermTypeId() {
        return permTypeId;
    }

    public PermissionParam setPermTypeId(Integer permTypeId) {
        this.permTypeId = permTypeId;
        return this;
    }

    public Integer getDomainId() {
        return domainId;
    }

    public PermissionParam setDomainId(Integer domainId) {
        this.domainId = domainId;
        return this;
    }

    public List<Integer> getRoleIds() {
        return roleIds;
    }

    public PermissionParam setRoleIds(List<Integer> roleIds) {
        this.roleIds = roleIds;
        return this;
    }

    public String getValueExt() {
        return valueExt;
    }

    public PermissionParam setValueExt(String valueExt) {
        this.valueExt = valueExt;
        return this;
    }

    @Override
    public String toString() {
        return "PermissionParam [id=" + id + ", value=" + value + ", valueExt=" + valueExt + ", description=" + description + ", status=" + status + ", permTypeId=" + permTypeId
                + ", domainId=" + domainId + ", roleIds=" + roleIds + "]";
    }
}
